package deep

import "reflect"

func Clone(v interface{}) interface{} {
	dst := reflect.New(reflect.TypeOf(v)).Elem()
	copy(dst, reflect.ValueOf(v))

	return dst.Interface()
}
